import { system as http } from '@zh/common-utils/http'

/**
 * 查询列表
 * @param {Object} params
 */
export function getFileList (params) {
  return http.post('/system/SysFileRelation/list', params)
}

/**
 * 保存
 * @param {Object} params
 */
export function saveFile (params) {
  return http.post('/system/SysFileRelation/save', params)
}

/**
 * 删除
 * @param {Object} params
 */
export function deleteFile (params) {
  return http.post('/system/SysFileRelation/del', params)
}
